using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class BallManager : MonoBehaviour
{
    public AudioSource music;


    private void OnTriggerEnter(Collider other)
    {
        if (other.tag == "MultiplyBlock")
        {
            music.Play();
        }
        if (other.tag == "Floor")
        {
            Destroy(this.gameObject);
        }
    }
}
